package com.bcu.wish.mapper;

import com.bcu.wish.entity.Userinfo;
import org.apache.ibatis.annotations.Mapper;import org.apache.ibatis.annotations.Param;import java.util.List;

@Mapper
public interface UserinfoMapper {
    int deleteByPrimaryKey(String userinfoUserId);

    int insert(Userinfo record);

    int insertSelective(Userinfo record);

    Userinfo selectByPrimaryKey(String userinfoUserId);

    int updateByPrimaryKeySelective(Userinfo record);

    int updateByPrimaryKey(Userinfo record);

    String selectUserinfoUserIdcardByUserinfoUserId(String userinfoUserId);

    Userinfo selectByUserinfoUserIdAndUserinfoUserIdcard(@Param("userinfoUserId") String userinfoUserId, @Param("userinfoUserIdcard") String userinfoUserIdcard);

    List<Userinfo> selectAll();

    int deleteAll();
}